Version

Upload(UploadModel) Method

Renders a upload widget with the specified id and options in the model.
Syntax
'Declaration
 
Public Overloads Function Upload( _
   ByVal uploadModel As UploadModel _
) As System.Web.Mvc.MvcHtmlString
public System.Web.Mvc.MvcHtmlString Upload( 
   UploadModel uploadModel
)

Parameters

uploadModel
The model containing the options for the widget.

Return Value

A HTML div with a script tag bellow it that adds the upload widget to the div.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub